const fs = require('fs');
const path = require('path');

// 读取测试文件
const markdown = fs.readFileSync(path.join(__dirname, 'test-mermaid-export.md'), 'utf8');

console.log('测试Markdown内容:');
console.log(markdown);

// 检查是否包含mermaid代码块
if (markdown.includes('```mermaid')) {
  console.log('✓ 发现Mermaid代码块');
} else {
  console.log('✗ 未发现Mermaid代码块');
}
